package io.geekidea.boot.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 资源类型实体类
 */
@Data
@TableName("resource_type")
public class ResourceType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String code;

    private String major; // 专业字段

    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
